package lab02.test11;

/**
 * Created by Administrator on 2017/10/21.
 */
public class Test {
    public static void main(String[] args) {
      Rectangle r=new Rectangle();
      r.getArea();
      r.getPerimeter();
      r.printMyWay();
      Square s=new Square();
      s.getArea();
      s.getLength();
      s.getDiagonal();
      s.printMyWay();
    }
}
